<template>
  <div class="centerIntroduce">
    <Header></Header>

    <CarouselFigure></CarouselFigure>

    <el-row>
      <el-col :span="2"><div style="opacity:0">1</div></el-col>
      <el-col :span="20" class="leader-care-info-content">
        <img src="../../assets/img/centerHome/content.png" width="80%" alt="" />
      </el-col>
      <el-col :span="2"><div style="opacity:0">1</div></el-col>
    </el-row>

    <el-row>
      <el-col :span="2"><div style="opacity:0">1</div></el-col>
      <el-col :span="20" class="recommendContent">
        <h2>相关资源推荐</h2>
        <el-row>
          <el-col :span="2" class="arrow-style">
            <i class="el-icon-arrow-left"></i>
          </el-col>
          <el-col :span="20">
            <div class="recommendBox">
              <ul class="recommendUl">
                <li
                  class="recommendItem"
                  v-for="(item, index) in 6"
                  :key="index"
                >
                  <img
                    src="../../assets/img/centerHome/recommendItem.jpg"
                    alt=""
                  />
                  <h3>借助SAP S/4HANA Cloud 监管项目任务</h3>
                  <button class="deal-way-btn" > <i class="el-icon-arrow-right"></i> 解决方案 </button>
                </li>
              </ul>
            </div>
          </el-col>
          <el-col :span="2" class="arrow-style">
            <i class="el-icon-arrow-right"></i>
          </el-col>
        </el-row>
      </el-col>
      <el-col :span="2"><div style="opacity:0">1</div></el-col>
    </el-row>

    <Footer></Footer>
  </div>
</template>

<script>
import Header from "@/components/Header.vue";
import Footer from "@/components/Footer.vue";
import CarouselFigure from "@/components/CarouselFigure.vue";
export default {
  data() {
    return {};
  },
  components: {
    Header,
    Footer,
    CarouselFigure,
  },
};
</script>

<style scoped>
@import url("~assets/styles/centerHome/centerIntroduce.css");
.leader-care-info-content {
  margin-top: 30px;
  box-shadow: 0px 0px 5px #ccc;
}
.leader-care-info-content img {
  display: block;
  margin: 0px auto;
}

.recommendContent {
  margin-top: 30px;
  margin-bottom: 20px;
}
.recommendContent h2 {
  line-height: 30px;
  font-size: 18px;
  font-weight:600;
  text-align: center;
  margin-top: 20px;
}

.arrow-style i {
  width: 100%;
  text-align: center;
  font-size: 25px;
  cursor: pointer;
  line-height: 200px;
}

.recommendBox {
  display: flex;
}

.recommendUl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 20px;
}
.recommendBox .recommendItem {
  width: 23%;
  float: left;
  box-shadow: 0px 0px 5px #ccc;
  padding: 20px 0px;
  margin: 10px 0px;
}
.recommendBox .recommendItem:nth-child(n + 5) {
  display: none;
}
.recommendBox .recommendItem img {
  width: 90%;
  display: block;
  margin: 0 auto;
}
.recommendBox .recommendItem h3 {
  font-size: 15px;
  font-weight: 600;
  padding-left: 15px;
  line-height: 25px;
  margin: 15px auto;
}
.deal-way-btn{
  width: 70%;
  height: 30px;
  margin: 20px auto;
  display: block;
  background-color:#FFAF13 ;
  border: none;
  color:white;
}

.article-base-info {
  width: 78%;
  margin: 20px auto;
}
.article-base-info>:nth-child(n) {
  margin: 20px;
  font-size: 20px;
}
.article-base-info .article-tag span{
  padding: 5px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 13px;
  color: #aaa;
}
.next-and-prepage {
  border-top: 1px solid #ccc;
  margin-top: 30px;
  height: 20px;
}

@media screen and (max-width:768px) {
  img {
    padding-left: 0px;
  }
  .recommendBox .recommendItem {
    width:100%;
  }
  .recommendBox .recommendItem:nth-child(n + 2) {
    display: none;
  }
}
</style>
